all: readme.md readme.texi readme.html
.INTERMEDIATE: .exported
readme.md readme.texi readme.html: .exported
.exported: readme.org
	HOME=$$(dirname $$(realpath "$<")) emacs -Q --batch "$<" --exec "(require 'ox-md)" -f org-md-export-to-markdown -f org-html-export-to-html -f org-texinfo-export-to-texinfo -f kill-emacs
